from django.conf.urls import re_path

from my_apps import consumers

websocket_urlpatterns = [
    re_path(r'ws/(?P<group>\w+)/$', consumers.MessagesConsumer.as_asgi()),
    re_path(r'ws/personal/(?P<group>\w+)/$', consumers.GiveMessageConsumer.as_asgi()),

    re_path(r'ws/live/(?P<group>\w+)/$', consumers.LiveRoomConsumer.as_asgi()),
]
